function collect_same_elements(collection_a, object_b) {
  //在这里写入代码
  return collection_a.filter((item1)=>{
    for(let item2 of object_b.value){
      if(item1 === item2){
        return item1 ;
      }
    }
  }) ;
}

module.exports = collect_same_elements;
